package com.kujie.access.domain.bo;

import com.kujie.access.domain.po.CustomerManagement;
import com.kujie.common.core.validate.EditGroup;
import com.kujie.common.tenant.core.TenantEntity;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 合同管理 BO
 *
 * @author check
 * @date 2025-05-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = CustomerManagement.class, reverseConvertGenerate = false)
public class ContractManagementBO extends TenantEntity {
    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = {EditGroup.class})
    private Long id;

    /**
     * 合同编号
     */
    private String contractUUID;

    /**
     * 合同名称
     */
    private String contractName;

    /**
     * 合同租金标准
     */
    private String contractRentalStandard;

    /**
     * 合同押金
     */
    private String deposit;

    /**
     * 合同押金状态
     */
    private String depositStatus;

    /**
     * 合同起始日期
     */
    private Date contractCommencementDate;

    /**
     * 合同结束日期
     */
    private Date contractExpirationDate;

    /**
     * 甲方
     */
    private String partyA;

    /**
     * 乙方
     */
    private String partyB;

    /**
     * 合同状态
     */
    private String contractStatus;

    /**
     * 合同附件
     */
    private String contractAppendix;

    /**
     * 合同签订日期
     */
    private Date signDate;

    /**
     * 缴纳方式
     */
    private String paymentMethod;
}
